<?php slot('title', "精彩照片 - ") ?>
<?php slot('area', "{$area}赛区") ?>
<?php use_javascript('pic_show/index') ?>
<?php use_javascript('pic_show/show2') ?>
<?php use_javascript('pic_show/slide_show') ?>
<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
	try {
	var pageTracker = _gat._getTracker("UA-16216214-1");
	pageTracker._trackPageview();
	} catch(err) {}
</script>


<!--Content-->
<div class="login_top"><img src="/images/login_top.gif"  width="940"/></div>
<div class="video_art_center" id="my-photo">
   <div class="photo_show">
      <p class="current-photo" id="picture-1"><img src="<?php printf(sfConfig::get('app_path_photo_photo'), $photo->getPhoto()) ?>"  alt="<?php echo $photo->getDescription() ?>" /><span><?php echo $photo->getDescription() ?></span></p>

   </div>
   <div class="photo_lists">
      <div class="photos_pre next slide-show right"><a href="#left"><img src="/images/space_pre.gif" /></a></div>
      <div class="photos_next next slide-show left"><a href="#right"><img src="/images/space_next.gif" /></a></div>
      <div class="photo_art_tit"></div>
      <div class="thumb-list">
          <ul class="space-photo-list slide-show-content">
		    <?php foreach ($photo->getRelatedQuery()->execute() as $p): ?>
             <li><a href="<?php echo url_for('@photo_show?id=' . $p->getId()) ?>"><img src="<?php printf(sfConfig::get('app_path_photo_thumb'), $p->getThumb()) ?>" width="140" height="110" alt="<?php echo $p->getTitle() ?>"  /></a></li>
			<?php endforeach ?>
          </ul>
      </div>
      <div class="clear"></div>
  </div>
</div>
<div class="login_bottom"><img src="/images/login_bottom.gif"  width="939"/></div>
